package com.tywj.lib.social.interfaces

import com.tywj.lib.social.entity.ImageShareEntity
import com.tywj.lib.social.entity.WebPageShareEntity
import com.tywj.lib.social.interfaces.Callback

/**
 * <pre>
 *     author : June Yang
 *     time   : 2020/5/16
 *     desc   : 分享要实现的接口
 *     version: 1.0.0
 * </pre>
 */
interface IShare {
    /**
     * 分享网页
     */
    fun shareWebPage(entity: WebPageShareEntity, callback: Callback?)

    /**
     * 分享图片
     */
    fun shareImage(entity: ImageShareEntity, callback: Callback?)
}